/*
 * File:   AgentPopulation.h
 * Author: root
 *
 * Created on November 27, 2008, 9:36 PM
 */

#ifndef _AGENTPOPULATION_H
#define	_AGENTPOPULATION_H

#include "ga/GAPopulation.h"
#include "GameManager.h"

class AgentPopulation : public GAPopulation {

    static const float matchPct = 0.1f;

    static void EvaluatePop(GAPopulation&);
    static MatchStatistics playMatch(Agent31*, Agent31*);

public:

    AgentPopulation() : GAPopulation() {
        evaluator(EvaluatePop);
    }


    AgentPopulation(const GAGenome& c, unsigned int psize = 1)
    : GAPopulation(c, psize)
    {
        evaluator(EvaluatePop);
    }

};

#endif	/* _AGENTPOPULATION_H */

